
package simuri.NER;

import java.util.TreeSet;
import simuri.utils.Configuration;
import simuri.utils.NamedEntity;


/**
 * This interface implements a wrapper around NER tools. It takes the input text
 * as input and returns a set of named entities 
 * @author ngonga
 */
public interface NerTool {
    
     /** Returns a set of named entities, in general including their type and offset
     * 
     * @param input Input text to be sent to the NER tool
     * @return Set of named entities
     */
    public TreeSet<NamedEntity> getNEs(String input);
    public TreeSet<NamedEntity> getNEs(Configuration c);
    
}
